From: Wei Liu Date: Wed, 21 Oct 2015 14:15:56 +0000 (+0100) Subject: tools: create XEN_DUMP_DIR with mode 0700 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2314 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=8931a72ea22ae754bef348f43905d94ebad58359;p=xen.git tools: create XEN_DUMP_DIR with mode 0700 That directory is used to store guest memory dump which contains sensitive information. Signed-off-by: Wei Liu Acked-by: Ian Campbell --- diff --git a/tools/Makefile b/tools/Makefile index 26185594cf..820ca40442 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -58,7 +58,7 @@ build all: subdirs-all .PHONY: install install: subdirs-install - $(INSTALL_DIR) $(DESTDIR)$(XEN_DUMP_DIR) + $(INSTALL_DIR) -m 700 $(DESTDIR)$(XEN_DUMP_DIR) $(INSTALL_DIR) $(DESTDIR)/var/log/xen $(INSTALL_DIR) $(DESTDIR)/var/lib/xen